package com.example.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Person {
	private String name;
	private int age;
	
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date time;
	
	@JSONField(serialize = false) //是否启动序列化
	private String remarks;
	
	public Person(String name, int age,Date time,String remarks) {
		super();
		this.name = name;
		this.age = age;
		this.time = time;
		this.remarks = remarks;
	}
	
	
	
	public String getRemarks() {
		return remarks;
	}



	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}



	public Date getTime() {
		return time;
	}


	public void setTime(Date time) {
		this.time = time;
	}


	public Person() {
		super();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	
	
}
